<ui:fragment  
    xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"  
    xmlns:ui="http://java.sun.com/jsf/facelets"  
    xmlns:p="http://primefaces.org/ui">
    <h:form>
        <h:panelGrid columns="4" style="margin-bottom:10px; width: 600px;" cellpadding="5">
            <h:outputLabel value="Tipo: "/>
            <h:outputLabel value="#{tipoIntegracaoController.selectedTipoIntegracao.tipoIntegracao}"/>
            
            <h:outputLabel value="Descrição: " />
            <p:inputText value="#{tipoIntegracaoController.selectedTipoIntegracao.descricaoTipoIntegracao}" style="width: 300px;"/>
            
            <h:outputLabel value="Sistema Origem: " />
            <p:inputText value="#{tipoIntegracaoController.selectedTipoIntegracao.sistemaResponsavel}" />
            
            <h:outputLabel value="Sistema Destino: " />
            <p:inputText value="#{tipoIntegracaoController.selectedTipoIntegracao.sistemaDestino}" />
            
            <h:outputLabel value="Processando: " />            
            <p:selectBooleanCheckbox value="#{tipoIntegracaoController.selectedTipoIntegracao.processandoIntegracao}" />
            
            <h:outputLabel value="Ativo: " />
            <p:selectBooleanCheckbox value="#{tipoIntegracaoController.selectedTipoIntegracao.ativo}" />
        </h:panelGrid>
        
        <br/>
        <p:separator/>
        
        <p:commandButton id="btnSalvar" action="#{tipoIntegracaoController.alterar}" value="Salvar" title="Salvar" icon="ui-icon-check"/>
        <p:commandButton id="btnCancelar" type="button" title="Cancelar" value="Cancelar" icon="ui-icon-closethick" onclick="dlgAlterar.hide();"/>
    </h:form>
</ui:fragment>